(function($){

	var MPG = this.MPG = (this.MPG || {});
	MPG.Mock = (this.MPG.Mock || {});

	MPG.Mock.Current = new Class({
		Interface: MPG.IGallery,
		initialize: function(){
		}
	});
	
	MPG.Mock.setCurrent = new Class({
		Interface: MPG.IGallery,
		initialize: function(){
			this._current = 0;
		}
	});

	MPG.Mock.getCurrent = new Class({
		Interface: MPG.IGallery,
		initialize: function(){
			this._current = 0;
		},
		setCurrent: function(curent){
			this._current = curent;
		}
	});

	
	MPG.Mock.Next = new Class({
		Interface: MPG.IGallery,
		initialize: function(){
			this._current = 0;
		},
		setCurrent: function(curent){
			this._current = curent;
		},
		getCurrent: function(){
			return this._current;
		}
	});


	MPG.Mock.Prev = new Class({
		Interface: MPG.IGallery,
		initialize: function(){
			this._current = 0;
		},
		setCurrent: function(curent){
			this._current = curent;
		},
		getCurrent: function(){
			return this._current;
		},
		next: function(){
		}
	});

	
	MPG.Mock.First = new Class({
		Interface: MPG.IGallery,
		initialize: function(){
			this._current = 0;
		},
		setCurrent: function(curent){
			this._current = curent;
		},
		getCurrent: function(){
			return this._current;
		},
		next: function(){},
		prev: function(){}
	});	
	

	MPG.Mock.Last = new Class({
		Interface: MPG.IGallery,
		initialize: function(){
			this._current = 0;
		},
		setCurrent: function(curent){
			this._current = curent;
		},
		getCurrent: function(){
			return this._current;
		},
		next: function(){},
		prev: function(){},
		first: function(){}
	});		


	MPG.Mock.isValid = new Class({
		Interface: MPG.IGallery,
		initialize: function(){
			this._current = 0;
		},
		setCurrent: function(curent){
			this._current = curent;
		},
		getCurrent: function(){
			return this._current;
		},
		next: function(){},
		prev: function(){},
		first: function(){},
		last: function(){}
	});			
	

	try {
		var mock = new MPG.Mock.Current();
	} catch(e) {
		console.log(e);
	}

	try {
		var mock = new MPG.Mock.setCurrent();
	} catch(e) {
		console.log(e);
	}
	
	try {
		var mock = new MPG.Mock.getCurrent();
	} catch(e) {
		console.log(e);
	}

	try {
		var mock = new MPG.Mock.Next();
	} catch(e) {
		console.log(e);
	}

	try {
		var mock = new MPG.Mock.Prev();
	} catch(e) {
		console.log(e);
	}

	try {
		var mock = new MPG.Mock.First();
	} catch(e) {
		console.log(e);
	}

	try {
		var mock = new MPG.Mock.Last();
	} catch(e) {
		console.log(e);
	}

	try {
		var mock = new MPG.Mock.isValid();
	} catch(e) {
		console.log(e);
	}

}(document.id));
